Lines Matching refs:key_len
371 size_t key_len; in php_sha512_crypt_r() local
402 key_len = strlen(key); in php_sha512_crypt_r()
405 char *tmp = (char *) alloca (key_len + __alignof__ (uint64_t)); in php_sha512_crypt_r()
407 memcpy(tmp + __alignof__(uint64_t) - (tmp - (char *) 0) % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
420 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
433 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
439 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
446 for (cnt = key_len; cnt > 64; cnt -= 64) { in php_sha512_crypt_r()
453 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha512_crypt_r()
457 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
468 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha512_crypt_r()
469 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
476 cp = p_bytes = alloca(key_len); in php_sha512_crypt_r()
477 for (cnt = key_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
509 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
521 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
528 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
607 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha512_crypt_r()
612 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha512_crypt_r()