Lines Matching refs:key_len
371 size_t key_len; in php_sha512_crypt_r() local
406 key_len = strlen(key); in php_sha512_crypt_r()
409 char *tmp = (char *) alloca (key_len + __alignof__ (uint64_t)); in php_sha512_crypt_r()
411 memcpy(tmp + __alignof__(uint64_t) - (uintptr_t)tmp % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
424 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
437 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
443 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
450 for (cnt = key_len; cnt > 64; cnt -= 64) { in php_sha512_crypt_r()
457 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha512_crypt_r()
461 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
472 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha512_crypt_r()
473 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
480 cp = p_bytes = alloca(key_len); in php_sha512_crypt_r()
481 for (cnt = key_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
513 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
525 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
532 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
611 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha512_crypt_r()
616 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha512_crypt_r()