Lines Matching refs:length
170 static int aes_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, size_t length, in aes_crypt_cbc_wrap() argument
173 return mbedtls_aes_crypt_cbc((mbedtls_aes_context *) ctx, operation, length, iv, input, in aes_crypt_cbc_wrap()
180 size_t length, size_t *iv_off, unsigned char *iv, in aes_crypt_cfb128_wrap() argument
183 return mbedtls_aes_crypt_cfb128((mbedtls_aes_context *) ctx, operation, length, iv_off, iv, in aes_crypt_cfb128_wrap()
189 static int aes_crypt_ofb_wrap(void *ctx, size_t length, size_t *iv_off, in aes_crypt_ofb_wrap() argument
192 return mbedtls_aes_crypt_ofb((mbedtls_aes_context *) ctx, length, iv_off, in aes_crypt_ofb_wrap()
198 static int aes_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in aes_crypt_ctr_wrap() argument
202 return mbedtls_aes_crypt_ctr((mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap()
209 size_t length, in aes_crypt_xts_wrap() argument
228 return mbedtls_aes_crypt_xts(xts_ctx, mode, length, in aes_crypt_xts_wrap()
786 size_t length, unsigned char *iv, in camellia_crypt_cbc_wrap() argument
789 return mbedtls_camellia_crypt_cbc((mbedtls_camellia_context *) ctx, operation, length, iv, in camellia_crypt_cbc_wrap()
796 size_t length, size_t *iv_off, unsigned char *iv, in camellia_crypt_cfb128_wrap() argument
799 return mbedtls_camellia_crypt_cfb128((mbedtls_camellia_context *) ctx, operation, length, in camellia_crypt_cfb128_wrap()
805 static int camellia_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in camellia_crypt_ctr_wrap() argument
809 return mbedtls_camellia_crypt_ctr((mbedtls_camellia_context *) ctx, length, nc_off, in camellia_crypt_ctr_wrap()
1204 size_t length, unsigned char *iv, in aria_crypt_cbc_wrap() argument
1207 return mbedtls_aria_crypt_cbc((mbedtls_aria_context *) ctx, operation, length, iv, in aria_crypt_cbc_wrap()
1214 size_t length, size_t *iv_off, unsigned char *iv, in aria_crypt_cfb128_wrap() argument
1217 return mbedtls_aria_crypt_cfb128((mbedtls_aria_context *) ctx, operation, length, in aria_crypt_cfb128_wrap()
1223 static int aria_crypt_ctr_wrap(void *ctx, size_t length, size_t *nc_off, in aria_crypt_ctr_wrap() argument
1227 return mbedtls_aria_crypt_ctr((mbedtls_aria_context *) ctx, length, nc_off, in aria_crypt_ctr_wrap()
1627 static int des_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, size_t length, in des_crypt_cbc_wrap() argument
1630 return mbedtls_des_crypt_cbc((mbedtls_des_context *) ctx, operation, length, iv, input, in des_crypt_cbc_wrap()
1636 static int des3_crypt_cbc_wrap(void *ctx, mbedtls_operation_t operation, size_t length, in des3_crypt_cbc_wrap() argument
1639 return mbedtls_des3_crypt_cbc((mbedtls_des3_context *) ctx, operation, length, iv, input, in des3_crypt_cbc_wrap()
1900 static int chacha20_stream_wrap(void *ctx, size_t length, in chacha20_stream_wrap() argument
1906 ret = mbedtls_chacha20_update(ctx, length, input, output); in chacha20_stream_wrap()
2052 static int null_crypt_stream(void *ctx, size_t length, in null_crypt_stream() argument
2057 memmove(output, input, length); in null_crypt_stream()