Lines Matching refs:key

151 static int aes_setkey_dec_wrap( void *ctx, const unsigned char *key,  in aes_setkey_dec_wrap()  argument
154 return mbedtls_aes_setkey_dec( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_dec_wrap()
157 static int aes_setkey_enc_wrap( void *ctx, const unsigned char *key, in aes_setkey_enc_wrap() argument
160 return mbedtls_aes_setkey_enc( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_enc_wrap()
341 static int gcm_aes_setkey_wrap( void *ctx, const unsigned char *key, in gcm_aes_setkey_wrap() argument
345 key, key_bitlen ); in gcm_aes_setkey_wrap()
404 static int ccm_aes_setkey_wrap( void *ctx, const unsigned char *key, in ccm_aes_setkey_wrap() argument
408 key, key_bitlen ); in ccm_aes_setkey_wrap()
507 static int camellia_setkey_dec_wrap( void *ctx, const unsigned char *key, in camellia_setkey_dec_wrap() argument
510 return mbedtls_camellia_setkey_dec( (mbedtls_camellia_context *) ctx, key, key_bitlen ); in camellia_setkey_dec_wrap()
513 static int camellia_setkey_enc_wrap( void *ctx, const unsigned char *key, in camellia_setkey_enc_wrap() argument
516 return mbedtls_camellia_setkey_enc( (mbedtls_camellia_context *) ctx, key, key_bitlen ); in camellia_setkey_enc_wrap()
698 static int gcm_camellia_setkey_wrap( void *ctx, const unsigned char *key, in gcm_camellia_setkey_wrap() argument
702 key, key_bitlen ); in gcm_camellia_setkey_wrap()
761 static int ccm_camellia_setkey_wrap( void *ctx, const unsigned char *key, in ccm_camellia_setkey_wrap() argument
765 key, key_bitlen ); in ccm_camellia_setkey_wrap()
859 static int des_setkey_dec_wrap( void *ctx, const unsigned char *key, in des_setkey_dec_wrap() argument
864 return mbedtls_des_setkey_dec( (mbedtls_des_context *) ctx, key ); in des_setkey_dec_wrap()
867 static int des_setkey_enc_wrap( void *ctx, const unsigned char *key, in des_setkey_enc_wrap() argument
872 return mbedtls_des_setkey_enc( (mbedtls_des_context *) ctx, key ); in des_setkey_enc_wrap()
875 static int des3_set2key_dec_wrap( void *ctx, const unsigned char *key, in des3_set2key_dec_wrap() argument
880 return mbedtls_des3_set2key_dec( (mbedtls_des3_context *) ctx, key ); in des3_set2key_dec_wrap()
883 static int des3_set2key_enc_wrap( void *ctx, const unsigned char *key, in des3_set2key_enc_wrap() argument
888 return mbedtls_des3_set2key_enc( (mbedtls_des3_context *) ctx, key ); in des3_set2key_enc_wrap()
891 static int des3_set3key_dec_wrap( void *ctx, const unsigned char *key, in des3_set3key_dec_wrap() argument
896 return mbedtls_des3_set3key_dec( (mbedtls_des3_context *) ctx, key ); in des3_set3key_dec_wrap()
899 static int des3_set3key_enc_wrap( void *ctx, const unsigned char *key, in des3_set3key_enc_wrap() argument
904 return mbedtls_des3_set3key_enc( (mbedtls_des3_context *) ctx, key ); in des3_set3key_enc_wrap()
1118 static int blowfish_setkey_wrap( void *ctx, const unsigned char *key, in blowfish_setkey_wrap() argument
1121 return mbedtls_blowfish_setkey( (mbedtls_blowfish_context *) ctx, key, key_bitlen ); in blowfish_setkey_wrap()
1223 static int arc4_setkey_wrap( void *ctx, const unsigned char *key, in arc4_setkey_wrap() argument
1230 mbedtls_arc4_setup( (mbedtls_arc4_context *) ctx, key, key_bitlen / 8 ); in arc4_setkey_wrap()
1296 static int null_setkey( void *ctx, const unsigned char *key, in null_setkey() argument
1300 ((void) key); in null_setkey()