Lines Matching refs:operation
175 static int aes_crypt_ecb_wrap(void *ctx, mbedtls_operation_t operation, in aes_crypt_ecb_wrap() argument
178 return mbedtls_aes_crypt_ecb((mbedtls_aes_context *) ctx, operation, input, output); in aes_crypt_ecb_wrap()
182 static int aes_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, size_t length, in aes_crypt_cbc_wrap() argument
185 return mbedtls_aes_crypt_cbc((mbedtls_aes_context *) ctx, operation, length, iv, input, in aes_crypt_cbc_wrap()
191 static int aes_crypt_cfb128_wrap(void *ctx, mbedtls_operation_t operation, in aes_crypt_cfb128_wrap() argument
195 return mbedtls_aes_crypt_cfb128((mbedtls_aes_context *) ctx, operation, length, iv_off, iv, in aes_crypt_cfb128_wrap()
220 static int aes_crypt_xts_wrap(void *ctx, mbedtls_operation_t operation, in aes_crypt_xts_wrap() argument
229 switch (operation) { in aes_crypt_xts_wrap()
797 static int camellia_crypt_ecb_wrap(void *ctx, mbedtls_operation_t operation, in camellia_crypt_ecb_wrap() argument
800 return mbedtls_camellia_crypt_ecb((mbedtls_camellia_context *) ctx, operation, input, in camellia_crypt_ecb_wrap()
805 static int camellia_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, in camellia_crypt_cbc_wrap() argument
809 return mbedtls_camellia_crypt_cbc((mbedtls_camellia_context *) ctx, operation, length, iv, in camellia_crypt_cbc_wrap()
815 static int camellia_crypt_cfb128_wrap(void *ctx, mbedtls_operation_t operation, in camellia_crypt_cfb128_wrap() argument
819 return mbedtls_camellia_crypt_cfb128((mbedtls_camellia_context *) ctx, operation, length, in camellia_crypt_cfb128_wrap()
1222 static int aria_crypt_ecb_wrap(void *ctx, mbedtls_operation_t operation, in aria_crypt_ecb_wrap() argument
1225 (void) operation; in aria_crypt_ecb_wrap()
1231 static int aria_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, in aria_crypt_cbc_wrap() argument
1235 return mbedtls_aria_crypt_cbc((mbedtls_aria_context *) ctx, operation, length, iv, in aria_crypt_cbc_wrap()
1241 static int aria_crypt_cfb128_wrap(void *ctx, mbedtls_operation_t operation, in aria_crypt_cfb128_wrap() argument
1245 return mbedtls_aria_crypt_cfb128((mbedtls_aria_context *) ctx, operation, length, in aria_crypt_cfb128_wrap()
1640 static int des_crypt_ecb_wrap(void *ctx, mbedtls_operation_t operation, in des_crypt_ecb_wrap() argument
1643 ((void) operation); in des_crypt_ecb_wrap()
1647 static int des3_crypt_ecb_wrap(void *ctx, mbedtls_operation_t operation, in des3_crypt_ecb_wrap() argument
1650 ((void) operation); in des3_crypt_ecb_wrap()
1655 static int des_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, size_t length, in des_crypt_cbc_wrap() argument
1658 return mbedtls_des_crypt_cbc((mbedtls_des_context *) ctx, operation, length, iv, input, in des_crypt_cbc_wrap()
1664 static int des3_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, size_t length, in des3_crypt_cbc_wrap() argument
1667 return mbedtls_des3_crypt_cbc((mbedtls_des3_context *) ctx, operation, length, iv, input, in des3_crypt_cbc_wrap()