Is it okay for a non-cryptographer to submit crypto code to an open source probject?
At least make sure that your code is reviewed. Verify you don't have possible buffer overflow or any kinds of implementation attack because of the use of non secure primitives. Moreover if you do so, test all your functions and in particular :


bitwise rotations
permutations
S-boxes...


Check everything as it is really easy to screw with it. Then use the test vector provided by the algorithm and check your results. For example here are the test vector I used when I implemented DES (which I don't use in production).

You can find other tests vectors of most ciphers here, i.e. for the AES-128-128.