Lines Matching defs:cipher
156 static int padlock_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
727 padlock_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids,
730 /* No specific cipher => return a list of supported nids ... */
731 if (!cipher) {
736 /* ... or the requested "cipher" otherwise */
739 *cipher = &padlock_aes_128_ecb;
742 *cipher = &padlock_aes_128_cbc;
745 *cipher = &padlock_aes_128_cfb;
748 *cipher = &padlock_aes_128_ofb;
752 *cipher = &padlock_aes_192_ecb;
755 *cipher = &padlock_aes_192_cbc;
758 *cipher = &padlock_aes_192_cfb;
761 *cipher = &padlock_aes_192_ofb;
765 *cipher = &padlock_aes_256_ecb;
768 *cipher = &padlock_aes_256_cbc;
771 *cipher = &padlock_aes_256_cfb;
774 *cipher = &padlock_aes_256_ofb;
779 *cipher = NULL;