D | cipher_wrap.c | 116 static int aes_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_ecb_wrap() argument 119 return mbedtls_aes_crypt_ecb( (mbedtls_aes_context *) ctx, operation, input, output ); 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() argument 126 return mbedtls_aes_crypt_cbc( (mbedtls_aes_context *) ctx, operation, length, iv, input, in aes_crypt_cbc_wrap() 132 static int aes_crypt_cfb128_wrap( void *ctx, mbedtls_operation_t operation, in aes_crypt_cfb128_wrap() argument 136 return mbedtls_aes_crypt_cfb128( (mbedtls_aes_context *) ctx, operation, length, iv_off, iv, in aes_crypt_cfb128_wrap() 470 static int camellia_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_ecb_wrap() argument 473 return mbedtls_camellia_crypt_ecb( (mbedtls_camellia_context *) ctx, operation, input, in camellia_crypt_ecb_wrap() 478 static int camellia_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, in camellia_crypt_cbc_wrap() argument 482 return mbedtls_camellia_crypt_cbc( (mbedtls_camellia_context *) ctx, operation, length, iv, in camellia_crypt_cbc_wrap() [all …]
|