1217309Snwhitehorn/* 2217309Snwhitehorn * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved. 3217309Snwhitehorn * 4217309Snwhitehorn * Licensed under the Apache License 2.0 (the "License"). You may not use 5217309Snwhitehorn * this file except in compliance with the License. You can obtain a copy 6217309Snwhitehorn * in the file LICENSE in the source distribution or at 7217309Snwhitehorn * https://www.openssl.org/source/license.html 8217309Snwhitehorn */ 9217309Snwhitehorn 10217309Snwhitehorn#include <openssl/seed.h> 11217309Snwhitehorn#include "prov/ciphercommon.h" 12217309Snwhitehorn 13217309Snwhitehorntypedef struct prov_seed_ctx_st { 14 PROV_CIPHER_CTX base; /* Must be first */ 15 union { 16 OSSL_UNION_ALIGN; 17 SEED_KEY_SCHEDULE ks; 18 } ks; 19} PROV_SEED_CTX; 20 21const PROV_CIPHER_HW *ossl_prov_cipher_hw_seed_cbc(size_t keybits); 22const PROV_CIPHER_HW *ossl_prov_cipher_hw_seed_ecb(size_t keybits); 23const PROV_CIPHER_HW *ossl_prov_cipher_hw_seed_ofb128(size_t keybits); 24const PROV_CIPHER_HW *ossl_prov_cipher_hw_seed_cfb128(size_t keybits); 25