Searched refs:lws_genaes_crypt (Results 1 – 8 of 8) sorted by relevance
/external/libwebsockets/minimal-examples/api-tests/api-test-gencrypto/ |
D | lws-genaes.c | 56 if (lws_genaes_crypt(&ctx, cbc256, 16, res, (uint8_t *)cbc256_iv, in test_genaes_cbc() 79 if (lws_genaes_crypt(&ctx, res, 16, res1, (uint8_t *)cbc256_iv, in test_genaes_cbc() 143 if (lws_genaes_crypt(&ctx, cfb128, 16, res, (uint8_t *)cfb128_iv, in test_genaes_cfb128() 167 if (lws_genaes_crypt(&ctx, res, 16, res1, (uint8_t *)cfb128_iv, in test_genaes_cfb128() 229 if (lws_genaes_crypt(&ctx, cfb8, 16, res, (uint8_t *)cfb8_iv, in test_genaes_cfb8() 251 if (lws_genaes_crypt(&ctx, res, 16, res1, (uint8_t *)cfb8_iv, in test_genaes_cfb8() 318 if (lws_genaes_crypt(&ctx, ctr, 16, res, nonce_counter, sb, &nc_off, 0)) { in test_genaes_ctr() 343 if (lws_genaes_crypt(&ctx, res, 16, res1, nonce_counter, sb, &nc_off, 0)) { in test_genaes_ctr() 408 if (lws_genaes_crypt(&ctx, ecb, 16, res, NULL, NULL, NULL, 0)) { in test_genaes_ecb() 429 if (lws_genaes_crypt(&ctx, res, 16, res1, NULL, NULL, NULL, 0)) { in test_genaes_ecb() [all …]
|
/external/libwebsockets/lib/jose/jwe/enc/ |
D | aesgcm.c | 89 n = lws_genaes_crypt(&aesctx, aad, aad_len, NULL, in lws_jwe_encrypt_gcm() 99 n = lws_genaes_crypt(&aesctx, (uint8_t *)jwe->jws.map.buf[LJWE_CTXT], in lws_jwe_encrypt_gcm() 152 n = lws_genaes_crypt(&aesctx, aad, aad_len, in lws_jwe_auth_and_decrypt_gcm() 160 n = lws_genaes_crypt(&aesctx, (uint8_t *)jwe->jws.map.buf[LJWE_CTXT], in lws_jwe_auth_and_decrypt_gcm()
|
D | aeskw.c | 95 n = lws_genaes_crypt(&aesctx, (uint8_t *)jwe->jws.map.buf[LJWE_EKEY], in lws_jwe_encrypt_aeskw_cbc_hs() 149 n = lws_genaes_crypt(&aesctx, (uint8_t *)jwe->jws.map.buf[LJWE_EKEY], in lws_jwe_auth_and_decrypt_aeskw_cbc_hs()
|
D | aescbc.c | 96 n = lws_genaes_crypt(&aesctx, (uint8_t *)jwe->jws.map.buf[LJWE_CTXT], in lws_jwe_encrypt_cbc_hs() 246 n = lws_genaes_crypt(&aesctx, (uint8_t *)jwe->jws.map.buf[LJWE_CTXT], in lws_jwe_auth_and_decrypt_cbc_hs()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-genaes.h | 164 lws_genaes_crypt(struct lws_genaes_ctx *ctx, const uint8_t *in, size_t len,
|
/external/libwebsockets/lib/jose/jwe/ |
D | jwe-ecdh-es-aeskw.c | 316 n = lws_genaes_crypt(&aesctx, cek, enc_hlen, in lws_jwe_encrypt_ecdh() 565 n = lws_genaes_crypt(&aesctx, in lws_jwe_auth_and_decrypt_ecdh()
|
/external/libwebsockets/lib/tls/openssl/ |
D | lws-genaes.c | 290 lws_genaes_crypt(struct lws_genaes_ctx *ctx, in lws_genaes_crypt() function
|
/external/libwebsockets/lib/tls/mbedtls/ |
D | lws-genaes.c | 276 lws_genaes_crypt(struct lws_genaes_ctx *ctx, const uint8_t *in, size_t len, in lws_genaes_crypt() function
|