Lines Matching refs:operation

139 static int aes_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation,  in aes_crypt_ecb_wrap()  argument
142 return mbedtls_aes_crypt_ecb( (mbedtls_aes_context *) ctx, operation, input, output ); in aes_crypt_ecb_wrap()
146 static int aes_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in aes_crypt_cbc_wrap() argument
149 return mbedtls_aes_crypt_cbc( (mbedtls_aes_context *) ctx, operation, length, iv, input, in aes_crypt_cbc_wrap()
155 static int aes_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_cfb128_wrap() argument
159 return mbedtls_aes_crypt_cfb128( (mbedtls_aes_context *) ctx, operation, length, iv_off, iv, in aes_crypt_cfb128_wrap()
184 static int aes_crypt_xts_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_xts_wrap() argument
193 switch( operation ) in aes_crypt_xts_wrap()
676 static int camellia_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_ecb_wrap() argument
679 return mbedtls_camellia_crypt_ecb( (mbedtls_camellia_context *) ctx, operation, input, in camellia_crypt_ecb_wrap()
684 static int camellia_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_cbc_wrap() argument
688 return mbedtls_camellia_crypt_cbc( (mbedtls_camellia_context *) ctx, operation, length, iv, in camellia_crypt_cbc_wrap()
694 static int camellia_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_cfb128_wrap() argument
698 return mbedtls_camellia_crypt_cfb128( (mbedtls_camellia_context *) ctx, operation, length, in camellia_crypt_cfb128_wrap()
1059 static int aria_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_ecb_wrap() argument
1062 (void) operation; in aria_crypt_ecb_wrap()
1068 static int aria_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_cbc_wrap() argument
1072 return mbedtls_aria_crypt_cbc( (mbedtls_aria_context *) ctx, operation, length, iv, in aria_crypt_cbc_wrap()
1078 static int aria_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aria_crypt_cfb128_wrap() argument
1082 return mbedtls_aria_crypt_cfb128( (mbedtls_aria_context *) ctx, operation, length, in aria_crypt_cfb128_wrap()
1435 static int des_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in des_crypt_ecb_wrap() argument
1438 ((void) operation); in des_crypt_ecb_wrap()
1442 static int des3_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in des3_crypt_ecb_wrap() argument
1445 ((void) operation); in des3_crypt_ecb_wrap()
1450 static int des_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in des_crypt_cbc_wrap() argument
1453 return mbedtls_des_crypt_cbc( (mbedtls_des_context *) ctx, operation, length, iv, input, in des_crypt_cbc_wrap()
1459 static int des3_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in des3_crypt_cbc_wrap() argument
1462 return mbedtls_des3_crypt_cbc( (mbedtls_des3_context *) ctx, operation, length, iv, input, in des3_crypt_cbc_wrap()
1720 static int blowfish_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in blowfish_crypt_ecb_wrap() argument
1723 return mbedtls_blowfish_crypt_ecb( (mbedtls_blowfish_context *) ctx, operation, input, in blowfish_crypt_ecb_wrap()
1728 static int blowfish_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in blowfish_crypt_cbc_wrap() argument
1732 return mbedtls_blowfish_crypt_cbc( (mbedtls_blowfish_context *) ctx, operation, length, iv, in blowfish_crypt_cbc_wrap()
1738 static int blowfish_crypt_cfb64_wrap( void *ctx, mbedtls_operation_t operation, in blowfish_crypt_cfb64_wrap() argument
1742 return mbedtls_blowfish_crypt_cfb64( (mbedtls_blowfish_context *) ctx, operation, length, in blowfish_crypt_cfb64_wrap()