Lines Matching defs:cipher
80 static int padlock_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
547 padlock_ciphers(ENGINE *e, const EVP_CIPHER **cipher, const int **nids,
550 /* No specific cipher => return a list of supported nids ... */
551 if (!cipher) {
556 /* ... or the requested "cipher" otherwise */
559 *cipher = padlock_aes_128_ecb();
562 *cipher = padlock_aes_128_cbc();
565 *cipher = padlock_aes_128_cfb();
568 *cipher = padlock_aes_128_ofb();
571 *cipher = padlock_aes_128_ctr();
575 *cipher = padlock_aes_192_ecb();
578 *cipher = padlock_aes_192_cbc();
581 *cipher = padlock_aes_192_cfb();
584 *cipher = padlock_aes_192_ofb();
587 *cipher = padlock_aes_192_ctr();
591 *cipher = padlock_aes_256_ecb();
594 *cipher = padlock_aes_256_cbc();
597 *cipher = padlock_aes_256_cfb();
600 *cipher = padlock_aes_256_ofb();
603 *cipher = padlock_aes_256_ctr();
608 *cipher = NULL;