Lines Matching defs:length

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