diff options
Diffstat (limited to 'board/cr50/tpm2/trng.c')
-rw-r--r-- | board/cr50/tpm2/trng.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/cr50/tpm2/trng.c b/board/cr50/tpm2/trng.c new file mode 100644 index 0000000000..7cce13ff1c --- /dev/null +++ b/board/cr50/tpm2/trng.c @@ -0,0 +1,11 @@ +/* Copyright 2016 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#include "CryptoEngine.h" + +CRYPT_RESULT _cpri__StirRandom(int32_t num, uint8_t *entropy) +{ + return CRYPT_SUCCESS; /* NO-OP on CR50. */ +} |