OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SHA256_BLOCK_SIZE
(Results
1 - 3
of
3
) sorted by null
/external/wpa_supplicant_8/src/crypto/
sha256_i.h
12
#define
SHA256_BLOCK_SIZE
64
17
u8 buf[
SHA256_BLOCK_SIZE
];
sha256-internal.c
154
if (md->curlen == 0 && inlen >=
SHA256_BLOCK_SIZE
) {
157
md->length +=
SHA256_BLOCK_SIZE
* 8;
158
in +=
SHA256_BLOCK_SIZE
;
159
inlen -=
SHA256_BLOCK_SIZE
;
161
n = MIN(inlen, (
SHA256_BLOCK_SIZE
- md->curlen));
166
if (md->curlen ==
SHA256_BLOCK_SIZE
) {
169
md->length += 8 *
SHA256_BLOCK_SIZE
;
203
while (md->curlen <
SHA256_BLOCK_SIZE
) {
/external/chromium/crypto/
hmac_win.cc
28
SHA256_BLOCK_SIZE
= 64 // Block size (in bytes) of the input to SHA-256.
38
unsigned char key0[
SHA256_BLOCK_SIZE
];
39
if (key_len >
SHA256_BLOCK_SIZE
) {
43
memset(key0 + SHA256_LENGTH, 0,
SHA256_BLOCK_SIZE
- SHA256_LENGTH);
46
memset(key0 + key_len, 0,
SHA256_BLOCK_SIZE
- key_len);
49
unsigned char padded_key[
SHA256_BLOCK_SIZE
];
53
for (int i = 0; i <
SHA256_BLOCK_SIZE
; ++i)
58
SHA256_Update(&ctx, padded_key,
SHA256_BLOCK_SIZE
);
63
for (int i = 0; i <
SHA256_BLOCK_SIZE
; ++i)
68
SHA256_Update(&ctx, padded_key,
SHA256_BLOCK_SIZE
);
[
all
...]
Completed in 46 milliseconds