Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 9 of 9) sorted by relevance

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dcipher_wrap.c116 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 …]
Dcipher.c182 int key_bitlen, const mbedtls_operation_t operation ) in mbedtls_cipher_setkey() argument
194 ctx->operation = operation; in mbedtls_cipher_setkey()
199 if( MBEDTLS_ENCRYPT == operation || in mbedtls_cipher_setkey()
207 if( MBEDTLS_DECRYPT == operation ) in mbedtls_cipher_setkey()
262 return mbedtls_gcm_starts( (mbedtls_gcm_context *) ctx->cipher_ctx, ctx->operation, in mbedtls_cipher_update_ad()
292 ctx->operation, input, output ) ) ) in mbedtls_cipher_update()
328 if( ( ctx->operation == MBEDTLS_DECRYPT && in mbedtls_cipher_update()
330 ( ctx->operation == MBEDTLS_ENCRYPT && in mbedtls_cipher_update()
351 ctx->operation, block_size, ctx->iv, in mbedtls_cipher_update()
376 if( copy_len == 0 && ctx->operation == MBEDTLS_DECRYPT ) in mbedtls_cipher_update()
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/
Dcipher.h227 mbedtls_operation_t operation; member
447 return ctx->operation; in mbedtls_cipher_get_operation()
466 int key_bitlen, const mbedtls_operation_t operation );
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_cmac.function169 * update operation */
261 * update operation */
286 * update operation */
Dtest_suite_cipher.function625 void test_vec_ecb( int cipher_id, int operation, char *hex_key,
654 TEST_ASSERT( 0 == mbedtls_cipher_setkey( &ctx, key, 8 * key_len, operation ) );
/net-tools-3.7.0/virtual-hub/
DREADME.md43 operation mode will create a different linux pipe for each QEMU
/net-tools-3.7.0/mbedtls-2.4.0/yotta/data/example-selftest/
DREADME.md3 …vidual mbed TLS components. It serves as a basic sanity check to verify operation of mbed TLS on y…
/net-tools-3.7.0/libcoap/examples/
Dcoap-client.txt.in92 Break operation after waiting given seconds (default is 90).
/net-tools-3.7.0/mbedtls-2.4.0/
DChangeLog973 * Speedup of ECP multiplication operation
1981 * Added AES-CFB mode of operation, contributed by chmike