Lines Matching defs:cipher
50 #include <polarssl/cipher.h>
111 /* Search for a cipher name translation */
150 printf ("The following ciphers and cipher modes are available\n"
151 "for use with " PACKAGE_NAME ". Each cipher shown below may be\n"
152 "used as a parameter to the --cipher option. The default\n"
350 * Generic cipher key type functions
358 const cipher_info_t *cipher = NULL;
362 cipher = cipher_info_from_string(ciphername);
364 if (NULL == cipher)
367 if (cipher->key_length/8 > MAX_CIPHER_KEY_LENGTH)
370 cipher->key_length/8,
373 return cipher;
380 return "[null-cipher]";
390 if (POLARSSL_CIPHER_ID_BLOWFISH == cipher_kt->base->cipher)
422 * Generic cipher context functions
436 msg (M_FATAL, "PolarSSL cipher context init #1");
439 msg (M_FATAL, "PolarSSL cipher set key");