Searched refs:buf_len (Results 1 – 8 of 8) sorted by relevance
/crypto/ecdh/ |
A D | ecdh.cc | 46 size_t buf_len; in ECDH_compute_key() local 48 !ec_get_x_coordinate_as_bytes(group, buf, &buf_len, sizeof(buf), in ECDH_compute_key() 55 if (kdf(buf, buf_len, out, &out_len) == NULL) { in ECDH_compute_key() 61 if (buf_len < out_len) { in ECDH_compute_key() 62 out_len = buf_len; in ECDH_compute_key()
|
/crypto/bytestring/ |
A D | bytestring_test.cc | 368 size_t buf_len; in TEST() local 389 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST() 447 size_t buf_len; in TEST() local 471 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST() 503 size_t buf_len; in TEST() local 517 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST() 576 size_t buf_len; in TEST() local 615 size_t buf_len; in TEST() local 646 ASSERT_EQ(3u + 130u, buf_len); in TEST() 656 ASSERT_EQ(4u + 1000u, buf_len); in TEST() [all …]
|
A D | cbb.cc | 683 size_t buf_len = CBB_len(cbb); in CBB_flush_asn1_set_of() local 685 reinterpret_cast<uint8_t *>(OPENSSL_memdup(CBB_data(cbb), buf_len)); in CBB_flush_asn1_set_of() 693 CBS_init(&cbs, buf, buf_len); in CBB_flush_asn1_set_of() 707 assert(offset == buf_len); in CBB_flush_asn1_set_of()
|
/crypto/fipsmodule/cipher/ |
A D | cipher.cc.inc | 188 ctx->buf_len = 0; 254 if (ctx->buf_len == 0 && block_remainder(ctx, in_len) == 0) { 265 int i = ctx->buf_len; 270 ctx->buf_len += in_len; 301 ctx->buf_len = i; 334 bl = ctx->buf_len; 407 if (b > 1 && !ctx->buf_len) { 444 if (ctx->buf_len) { 453 if (ctx->buf_len || !ctx->final_used) {
|
/crypto/rand/ |
A D | urandom.cc | 76 static ssize_t boringssl_getrandom(void *buf, size_t buf_len, unsigned flags) { in boringssl_getrandom() argument 79 ret = syscall(__NR_getrandom, buf, buf_len, flags); in boringssl_getrandom()
|
/crypto/asn1/ |
A D | a_object.cc | 52 int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a) { in i2t_ASN1_OBJECT() argument 53 return OBJ_obj2txt(buf, buf_len, a, 0); in i2t_ASN1_OBJECT()
|
/crypto/cipher/ |
A D | e_tls.cc | 198 int buf_len; in aead_tls_seal_scatter() local 199 if (!EVP_EncryptUpdate(&tls_ctx->cipher_ctx, buf, &buf_len, mac, in aead_tls_seal_scatter() 203 assert(buf_len == (int)block_size); in aead_tls_seal_scatter()
|
/crypto/fipsmodule/ecdsa/ |
A D | ecdsa_test.cc | 121 size_t buf_len = 2 * bn_len; in TestTamperedSig() local 122 std::vector<uint8_t> raw_buf(buf_len); in TestTamperedSig() 128 size_t offset = raw_buf[10] % buf_len; in TestTamperedSig()
|
Completed in 18 milliseconds