OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:ps_len
(Results
1 - 4
of
4
) sorted by null
/external/dropbear/libtomcrypt/src/pk/pkcs1/
pkcs_1_v1_5_decode.c
40
unsigned long modulus_len,
ps_len
, i;
local
66
ps_len
= i++ - 2;
68
if ((i >= modulus_len) || (
ps_len
< 8)) {
87
ps_len
= i - 2;
90
if (*outlen < (msglen - (2 +
ps_len
+ 1))) {
91
*outlen = msglen - (2 +
ps_len
+ 1);
96
*outlen = (msglen - (2 +
ps_len
+ 1));
97
XMEMCPY(out, &msg[2 +
ps_len
+ 1], *outlen);
pkcs_1_v1_5_encode.c
42
unsigned long modulus_len,
ps_len
, i;
local
73
ps_len
= modulus_len - msglen - 3;
77
if (prng_descriptor[prng_idx].read(ps,
ps_len
, prng) !=
ps_len
) {
83
for (i = 0; i <
ps_len
; i++) {
92
XMEMSET(ps, 0xFF,
ps_len
);
98
out[2 +
ps_len
] = 0x00;
99
XMEMCPY(&out[2 +
ps_len
+ 1], msg, msglen);
/external/wpa_supplicant_8/src/tls/
pkcs1.c
20
size_t
ps_len
;
local
45
ps_len
= modlen - inlen - 3;
48
os_memset(pos, 0x00,
ps_len
);
49
pos +=
ps_len
;
52
os_memset(pos, 0xff,
ps_len
);
53
pos +=
ps_len
;
56
if (os_get_random(pos,
ps_len
) < 0) {
61
while (
ps_len
--) {
/external/wpa_supplicant_8/src/crypto/
crypto_libtomcrypt.c
490
size_t
ps_len
;
local
515
ps_len
= modlen - inlen - 3;
518
os_memset(pos, 0x00,
ps_len
);
519
pos +=
ps_len
;
522
os_memset(pos, 0xff,
ps_len
);
523
pos +=
ps_len
;
526
if (os_get_random(pos,
ps_len
) < 0) {
531
while (
ps_len
--) {
Completed in 66 milliseconds