Lines Matching refs:length
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()
133 size_t length, size_t *iv_off, unsigned char *iv, 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()
142 static int aes_crypt_ctr_wrap( void *ctx, size_t length, size_t *nc_off, in aes_crypt_ctr_wrap() argument
146 return mbedtls_aes_crypt_ctr( (mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap()
479 size_t length, unsigned char *iv, in camellia_crypt_cbc_wrap() argument
482 return mbedtls_camellia_crypt_cbc( (mbedtls_camellia_context *) ctx, operation, length, iv, in camellia_crypt_cbc_wrap()
489 size_t length, size_t *iv_off, unsigned char *iv, in camellia_crypt_cfb128_wrap() argument
492 return mbedtls_camellia_crypt_cfb128( (mbedtls_camellia_context *) ctx, operation, length, 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() argument
502 return mbedtls_camellia_crypt_ctr( (mbedtls_camellia_context *) ctx, length, nc_off, in camellia_crypt_ctr_wrap()
842 static int des_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation, size_t length, in des_crypt_cbc_wrap() argument
845 return mbedtls_des_crypt_cbc( (mbedtls_des_context *) ctx, operation, length, iv, input, 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() argument
854 return mbedtls_des3_crypt_cbc( (mbedtls_des3_context *) ctx, operation, length, iv, input, in des3_crypt_cbc_wrap()
1090 size_t length, unsigned char *iv, const unsigned char *input, in blowfish_crypt_cbc_wrap() argument
1093 return mbedtls_blowfish_crypt_cbc( (mbedtls_blowfish_context *) ctx, operation, length, iv, in blowfish_crypt_cbc_wrap()
1100 size_t length, size_t *iv_off, unsigned char *iv, in blowfish_crypt_cfb64_wrap() argument
1103 return mbedtls_blowfish_crypt_cfb64( (mbedtls_blowfish_context *) ctx, operation, length, 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() argument
1113 return mbedtls_blowfish_crypt_ctr( (mbedtls_blowfish_context *) ctx, length, nc_off, in blowfish_crypt_ctr_wrap()
1216 static int arc4_crypt_stream_wrap( void *ctx, size_t length, in arc4_crypt_stream_wrap() argument
1220 return( mbedtls_arc4_crypt( (mbedtls_arc4_context *) ctx, length, input, output ) ); in arc4_crypt_stream_wrap()
1287 static int null_crypt_stream( void *ctx, size_t length, in null_crypt_stream() argument
1292 memmove( output, input, length ); in null_crypt_stream()