Lines Matching defs:ctx
80 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc() local
88 static void gcm_ctx_free( void *ctx ) in gcm_ctx_free()
99 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ccm_context ) ); in ccm_ctx_alloc() local
107 static void ccm_ctx_free( void *ctx ) in ccm_ctx_free()
116 static int aes_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_ecb_wrap()
123 static int aes_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in aes_crypt_cbc_wrap()
132 static int aes_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_cfb128_wrap()
142 static int aes_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in aes_crypt_ctr_wrap()
151 static int aes_setkey_dec_wrap( void *ctx, const unsigned char *key, in aes_setkey_dec_wrap()
157 static int aes_setkey_enc_wrap( void *ctx, const unsigned char *key, in aes_setkey_enc_wrap()
175 static void aes_ctx_free( void *ctx ) in aes_ctx_free()
341 static int gcm_aes_setkey_wrap( void *ctx, const unsigned char *key, in gcm_aes_setkey_wrap()
404 static int ccm_aes_setkey_wrap( void *ctx, const unsigned char *key, in ccm_aes_setkey_wrap()
470 static int camellia_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_ecb_wrap()
478 static int camellia_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_cbc_wrap()
488 static int camellia_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_cfb128_wrap()
498 static int camellia_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in camellia_crypt_ctr_wrap()
507 static int camellia_setkey_dec_wrap( void *ctx, const unsigned char *key, in camellia_setkey_dec_wrap()
513 static int camellia_setkey_enc_wrap( void *ctx, const unsigned char *key, in camellia_setkey_enc_wrap()
521 mbedtls_camellia_context *ctx; in camellia_ctx_alloc() local
532 static void camellia_ctx_free( void *ctx ) in camellia_ctx_free()
698 static int gcm_camellia_setkey_wrap( void *ctx, const unsigned char *key, in gcm_camellia_setkey_wrap()
761 static int ccm_camellia_setkey_wrap( void *ctx, const unsigned char *key, in ccm_camellia_setkey_wrap()
827 static int des_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in des_crypt_ecb_wrap()
834 static int des3_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in des3_crypt_ecb_wrap()
842 static int des_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in des_crypt_cbc_wrap()
851 static int des3_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in des3_crypt_cbc_wrap()
859 static int des_setkey_dec_wrap( void *ctx, const unsigned char *key, in des_setkey_dec_wrap()
867 static int des_setkey_enc_wrap( void *ctx, const unsigned char *key, in des_setkey_enc_wrap()
875 static int des3_set2key_dec_wrap( void *ctx, const unsigned char *key, in des3_set2key_dec_wrap()
883 static int des3_set2key_enc_wrap( void *ctx, const unsigned char *key, in des3_set2key_enc_wrap()
891 static int des3_set3key_dec_wrap( void *ctx, const unsigned char *key, in des3_set3key_dec_wrap()
899 static int des3_set3key_enc_wrap( void *ctx, const unsigned char *key, in des3_set3key_enc_wrap()
919 static void des_ctx_free( void *ctx ) in des_ctx_free()
938 static void des3_ctx_free( void *ctx ) in des3_ctx_free()
1081 static int blowfish_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in blowfish_crypt_ecb_wrap()
1089 static int blowfish_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in blowfish_crypt_cbc_wrap()
1099 static int blowfish_crypt_cfb64_wrap( void *ctx, mbedtls_operation_t operation, in blowfish_crypt_cfb64_wrap()
1109 static int blowfish_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in blowfish_crypt_ctr_wrap()
1118 static int blowfish_setkey_wrap( void *ctx, const unsigned char *key, in blowfish_setkey_wrap()
1126 mbedtls_blowfish_context *ctx; in blowfish_ctx_alloc() local
1137 static void blowfish_ctx_free( void *ctx ) in blowfish_ctx_free()
1216 static int arc4_crypt_stream_wrap( void *ctx, size_t length, in arc4_crypt_stream_wrap()
1223 static int arc4_setkey_wrap( void *ctx, const unsigned char *key, in arc4_setkey_wrap()
1236 mbedtls_arc4_context *ctx; in arc4_ctx_alloc() local
1247 static void arc4_ctx_free( void *ctx ) in arc4_ctx_free()
1287 static int null_crypt_stream( void *ctx, size_t length, in null_crypt_stream()
1296 static int null_setkey( void *ctx, const unsigned char *key, in null_setkey()
1311 static void null_ctx_free( void *ctx ) in null_ctx_free()