Home
last modified time | relevance | path

Searched refs:ps_len (Results 1 – 2 of 2) sorted by relevance

/hostap-3.6.0/src/tls/
Dpkcs1.c22 size_t ps_len; in pkcs1_generate_encryption_block() local
47 ps_len = modlen - inlen - 3; in pkcs1_generate_encryption_block()
50 os_memset(pos, 0x00, ps_len); in pkcs1_generate_encryption_block()
51 pos += ps_len; in pkcs1_generate_encryption_block()
54 os_memset(pos, 0xff, ps_len); in pkcs1_generate_encryption_block()
55 pos += ps_len; in pkcs1_generate_encryption_block()
58 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
63 while (ps_len--) { in pkcs1_generate_encryption_block()
/hostap-3.6.0/src/crypto/
Dcrypto_libtomcrypt.c494 size_t ps_len; in pkcs1_generate_encryption_block() local
519 ps_len = modlen - inlen - 3; in pkcs1_generate_encryption_block()
522 os_memset(pos, 0x00, ps_len); in pkcs1_generate_encryption_block()
523 pos += ps_len; in pkcs1_generate_encryption_block()
526 os_memset(pos, 0xff, ps_len); in pkcs1_generate_encryption_block()
527 pos += ps_len; in pkcs1_generate_encryption_block()
530 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
535 while (ps_len--) { in pkcs1_generate_encryption_block()